package com.inspur.service.impl;

import java.util.HashMap;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.mapper.RegularWorkMapper;
import com.inspur.pojo.RegularMeet;
import com.inspur.pojo.RegularMeetWork;
import com.inspur.pojo.RegularWorkExt;
import com.inspur.service.RegularWorkService;

@Service("regularWorkService")
public class RegularWorkServiceImpl implements RegularWorkService{
 
	@Autowired
	private RegularWorkMapper regularWorkMapper;
	
	 @Override
	 public List<RegularWorkExt> getWorkList(HashMap<String, Object> map){
	return regularWorkMapper.getWorkList(map); 
	 }
	 @Override
	 public void addRegularWorking(RegularMeetWork regularMeetWork){
		 regularWorkMapper.addRegularWorking(regularMeetWork);
	 }
	 
	 @Override
	 public void deletework(int ids[]){
		 regularWorkMapper.deletework(ids);
	 }
	 @Override
	 public RegularMeetWork getMeetbycmkey(int cmkey){
		 return regularWorkMapper.getMeetbycmkey(cmkey);
	 }
	 @Override
	 public void regularWorkingUpdate(RegularMeetWork regularMeetWork){
		 regularWorkMapper.regularWorkingUpdate(regularMeetWork);
	 }
}
